package com.dushibao.admin.vo.request;

import com.dushibao.utils.PageRequest;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 *  用户信息 实体类
 *
 * @author zqd
 * @date 2021-12-06 08:28:09
 */
@ApiModel(value = "AdminModelPageRequest",description = "用户信息")
@Data
@Accessors(chain = true)
public class AdminModelPageRequest extends PageRequest {

    private static final long serialVersionUID = 1L;

    /** 主键ID **/
    @ApiModelProperty(value = "主键ID",required = true)
    private Long id;

    /** 入库时间 **/
    @ApiModelProperty(value = "入库时间",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private java.util.Date addTime;

    /** 是否删除,默认为0未删除，-1表示删除状态 **/
    @ApiModelProperty(value = "是否删除,默认为0未删除，-1表示删除状态",required = true)
    private Integer deleteStatus;

    /** 登陆时间 **/
    @ApiModelProperty(value = "登陆时间",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private java.util.Date loginDate;

    /** 登陆Ip **/
    @ApiModelProperty(value = "登陆Ip",required = true)
    private String loginIp;

    /** 密码 **/
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    /** 性别 1为男、0为女、-1为保密 **/
    @ApiModelProperty(value = "性别 1为男、0为女、-1为保密",required = true)
    private Integer sex;

    /** 电话号码 **/
    @ApiModelProperty(value = "电话号码",required = true)
    private String telephone;

    /** 真实姓名 **/
    @ApiModelProperty(value = "真实姓名",required = true)
    private String trueName;

    /** 用户名 **/
    @ApiModelProperty(value = "用户名",required = true)
    private String userName;

}
